package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 商品扫码活动对象 shanglala_product_qrcode_activity
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ProductQrcodeActivity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long pigcmsId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long storeId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 购买方式 0扫码直接购买 */
    @Excel(name = "购买方式 0扫码直接购买")
    private Integer buyType;

    /** 优惠方式 0扫码折扣 1扫码可减优惠 */
    @Excel(name = "优惠方式 0扫码折扣 1扫码可减优惠")
    private Integer type;

    /** 折扣 */
    @Excel(name = "折扣")
    private Long discount;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal price;

    public void setPigcmsId(Long pigcmsId) 
    {
        this.pigcmsId = pigcmsId;
    }

    public Long getPigcmsId() 
    {
        return pigcmsId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setBuyType(Integer buyType) 
    {
        this.buyType = buyType;
    }

    public Integer getBuyType() 
    {
        return buyType;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDiscount(Long discount) 
    {
        this.discount = discount;
    }

    public Long getDiscount() 
    {
        return discount;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pigcmsId", getPigcmsId())
            .append("storeId", getStoreId())
            .append("productId", getProductId())
            .append("buyType", getBuyType())
            .append("type", getType())
            .append("discount", getDiscount())
            .append("price", getPrice())
            .toString();
    }
}
